package com.kll.carolinehmibiz.base.net

/**
 * ====================================================
 * Created by Ziliang Cai on 2021/12/06 21:21
 * <a href="mailto:752777456@qq.com">Contact me</a>
 * ====================================================
 */
public class UrlConfig {

    public companion object {

        //  URL
        // const val URL: String = "http://kaluolin.315pinpai.com" // 线下
        const val URL: String = "http://app.huaxia-health.com" // 线上

        // HEADER
        const val HEADER_APP_TYPE = "appType"
        const val HEADER_VERSION = "version"
        const val HEADER_SN = "sn"
        const val HEADER_TOKEN = "KaToken"

        // 获取菜单
        const val PATH_GET_MENU = "/api/v1/menu/get.menu.list"
        // 获取次级菜单
        const val PATH_GET_MENU_DETAIL = "/api/v1/article/get.article"
        // PATH
        // 获取验证码
        const val PATH_GET_VERIFI_CODE= "/api/v1/verification/send.verification.sms"
        // 登录
        const val PATH_USER_LOGIN = "/api/v1/user/login.user.user"
        // 重置密码
        const val PATH_RESET_PWD = "/api/v1/staff/set.staff.forgetpwd"
        // 注册
        const val PATH_USER_REGISTER = "/api/v1/user/login.user.user"
        // 检测设备是否激活接口
        const val PATH_GET_ACTIVE_STATUS = "/api/v1/device/check.device.isactive"
        // 设备激活
        const val PATH_ACTIVE_DEVICE = "/api/v1/user/activate.device.user"
        // 获取设置信息
        const val PATH_GET_SETTING = "/api/v1/setting/get.setting.info"
        // 获取文件上传配置
        const val PATH_GET_UPLOAD_INFO = "/api/v1/upload/get.upload.token"
        // 获取个人信息
        const val PATH_GET_USERINFO = "/api/v1/user/get.info"
        // 修改个人信息
        const val PATH_EDIT_USERINFO = "/api/v1/user/update.info"
        // 获取客服
        const val PATH_GET_ASSIGN_CUSTOMER_SERVICE = "/api/v1/staff/get.staff"
        // 生成UserSig（腾讯IM）
        const val PATH_CREATE_USERSIG = "/api/v1/chat/userSig"
        // 获取IM房间号
        const val PATH_GET_ROOMID = "/api/v1/chat/get.roomid"
        // 添加家人
        const val PATH_ADD_FAMILY = "/api/v1/user/add.family"
        // 修改家人
        const val PATH_EDIT_FAMILY = "/api/v1/user/update.family"
        // 获取家人列表
        const val PATH_GET_FAMILY = "/api/v1/user/get.family"
        // 获取用户活跃的腾讯云IM用户id
        const val GET_TENCENT_ID = "/api/v1/user/get.tencent.id"
        // 删除家人
        const val PATH_DEL_FAMILY = "/api/v1/user/del.family"
        // 获取首页banner
        const val PATH_GET_ADS = "/api/v1/ads/get.ads.code"
        // 疾病列表
        const val PATH_GET_DISEASE = "/api/v1/disease/get.disease"
        // 我的预约
        const val PATH_GET_CALLLOG = "/api/v1/user/get.call.log"

        // ====== 收货地址
        // 获取省市区
        const val PATH_GET_REGION = "/api/v1/region/get.region.son.list"
        // 获取收货地址
        const val PATH_GET_ADDRESS = "/api/v1/user_address/get.user.address.list"
        // 添加收货地址
        const val PATH_ADD_ADDRESS = "/api/v1/user_address/add.user.address.item"
        // 编辑地址
        const val PATH_EDIT_ADDRESS = "/api/v1/user_address/set.user.address.item"
        // 删除地址
        const val PATH_DEL_ADDRESS = "/api/v1/user_address/del.user.address.list"

        const val PATH_GET_VERSION = "/api/v1/app_install/query.app.install.updated"

        // 获取每日健康指数
        const val PATH_GET_DAILY = "/api/v1/liandevice/user.daily.data"
        // 刷新token
        const val PATH_REFRESH_TOKEN = "/api/v1/refresh.token"
        // 图片列表(爱心相册)
        const val GET_ALBUM = "/api/v1/user/album.android"
        // 添加图片(爱心相册)
        const val POST_ADD_PHOTO = "/api/v1/user/add.photo"
        // 删除图片(爱心相册)
        const val POST_DEL_PHOTO = "/api/v1/user/del.photo"
    }

}